package com.zijin.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jetbrains.annotations.NotNull;

import java.io.Serializable;

/**
 * @Title: RolePathDto
 * @Author JWei Xu
 * @Package com.zijin.dto.user
 * @Date 2025/2/7 20:58
 * @description:
 */
@ApiModel(description = "角色路径")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RolePathDto implements Serializable {


    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("角色id")
    @NotNull("不能为空")
    private Long roleId;

    @ApiModelProperty("路径")
    @NotNull("不能为空")
    private String path;
}
